]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Fix date conversion
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 2 Mar 2020 12:46:04 +0000 (13:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 2 Mar 2020 12:54:23 +0000 (13:54 +0100)
commit0dd171a7c899806e93254d879bc126431d99c36b
treea477cfa5fdcd320f2a64898fe693bede6ad6fb82
parent837fbbf4176638e2b88e375d26358fbd8246e25d
environment: Fix date conversion

This is a regression from commit 06b690ff21204:

GLib.DateTime.new() expects the full four-digit year, so passing
the abbreviated year from Date() will result in a bogus datetime.

Today is *not* Saturday March 2nd, 120 ...

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1061
js/ui/environment.js